<template>
  <div class="person">
    <ul>
      <li v-for="(item, index) of persons" :key="index">{{index}}{{item.id}}-{{item.name}}-{{item.age}}</li>
    </ul>
    <div>
      <h1>{{a}}</h1>
      <h1>{{b}}</h1>
    </div>
  </div>

</template>
<script lang="ts" setup name="person">
  import { defineProps } from 'vue';
  let propsData = defineProps(['persons', 'a', 'b'])
</script>
<style scoped>

</style>